from selenium import webdriver
from selenium.webdriver.common.by import By

wd = webdriver.Chrome()
url = "https://cn.bing.com/"
wd.get(url)
wd.find_element(By.ID, 'sb_form_q').send_keys('自动化测试')
wd.find_element(By.ID, 'search_icon').click()

